'''
Created on 30.11.2009

@author: stud
'''
from Tkinter import *
root = Tk()
textfenster = Text(root,width =100)
textfenster.pack()
eingabe = Entry(root,width=70)
eingabe.pack(side=LEFT)
def hole():
    textfenster.insert(END, '\n' + eingabe.get())

but = Button(root,text='Hole', command = hole)
but.pack(side = LEFT)
def loesche():
    textfenster.delete('1.0',END)

but2 = Button(root,text='Staubsauger', command = loesche)
but2.pack(side = LEFT)

root.mainloop()
